package com.lecampus.businessCampus_moments.controller;


import com.lecampus.businessCampus_moments.service.ArticleLabelService;
import com.lecampus.businessCampus_moments.vo.ArticleLabelVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author ${author}
 * @since 2021-04-10
 */
@RestController
@RequestMapping("/lecampus/article-label")
public class ArticleLabelController {

    @Autowired
    private ArticleLabelService articleLabelService;

    @GetMapping("/findAllLabel")
    public List<ArticleLabelVO> findAllLabel() {

        return articleLabelService.findAllLabel();
    }

}

